<?xml version="1.0" encoding="UTF-8" ?>
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->






<REPORT>
<template file="CreateFrom_Settlement.html"/>
<PARAMETER id="paramCheck" name="check" default="Y"/>

<PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
<PARAMETER id="paramDirection" name="direction" default=""/>
<PARAMETER id="paramLanguage" name="language" default=""/>
<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>

<PARAMETER id="paramKey" name="key" attribute="value"/>
<PARAMETER id="paramTableId" name="tableId" attribute="value"/>
<PARAMETER id="paramProcessId" name="processId" attribute="value"/>
<PARAMETER id="paramPath" name="path" attribute="value"/>
<PARAMETER id="paramWindowId" name="windowId" attribute="value"/>
<PARAMETER id="paramTabName" name="tabName" attribute="value"/>

<PARAMETER id="paramPlannedDateFrom" name="plannedDateFromdisplayFormat" attribute="displayformat" replace="xx"/>
<PARAMETER id="paramPlannedDateFrom" name="plannedDateFromsaveFormat" attribute="saveformat" replace="yy"/>
<PARAMETER id="paramPlannedDateTo" name="plannedDateTodisplayFormat" attribute="displayformat" replace="xx"/>
<PARAMETER id="paramPlannedDateTo" name="plannedDateTosaveFormat" attribute="saveformat" replace="yy"/>
<PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
<PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
<PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>


<PARAMETER id="fieldCBPartnerID" name="cbpartnerId" attribute="value"/>
<PARAMETER id="fieldCBPartnerID_DES" name="cbpartnerId_DES" attribute="value"/>
<PARAMETER id="paramIsReceiptPago" name="paramIsReceiptPago" default="N"/>
<PARAMETER id="fieldIsReceiptPago" name="isreceiptPago" boolean="selected" withId="paramIsReceiptPago"/>
<PARAMETER id="paramIsReceiptCobro" name="paramIsReceiptCobro" default="Y"/>
<PARAMETER id="fieldIsReceiptCobro" name="isreceiptCobro" boolean="selected" withId="paramIsReceiptCobro"/>
<PARAMETER id="fieldAmountFrom" name="amountFrom" attribute="value"/>
<PARAMETER id="fieldAmountTo" name="amountTo" attribute="value"/>
<PARAMETER id="fieldTotalAmount" name="totalAmount" attribute="value"/>
<PARAMETER id="fieldAutoCalculated" name="autoCalculated" boolean="checked" withId="paramCheck"/>
<PARAMETER id="paramPaymentRule" name="paymentRule"/>
<SUBREPORT id="reportPaymentRule" name="reportPaymentRule" report="org/openbravo/erpCommon/reference/List">
<ARGUMENT name="parameterListSelected" withId="paramPaymentRule"/></SUBREPORT>

<PARAMETER id="paramADOrgID" name="adOrgId"/>
<SUBREPORT id="reportAD_Org_ID" name="reportAD_Org_ID" report="org/openbravo/erpCommon/reference/List">
<ARGUMENT name="parameterListSelected" withId="paramADOrgID"/></SUBREPORT>


<PARAMETER id="fieldMarcarTodos" name="marcarTodos" boolean="checked" withId="paramCheck"/>

<PARAMETER id="param2" name="param2" default="2"/>
<structure name="structure1">
    <FIELD id="fieldRownum1">rownum</FIELD>
    <FUNCTION id="inpRecord10000003" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
<FIELD id="fieldMarcarId">cDebtPaymentId</FIELD>
<FIELD id="fieldCDebtPaymentId" attribute="value">cDebtPaymentId</FIELD>
<FIELD id="fieldPrice" attribute="name" replace="xx">cDebtPaymentId</FIELD>
<FIELD id="fieldPrice" attribute="value">amount</FIELD>
<FIELD id="fieldCDebtPaymentId" boolean="checked" withId="fieldMarcarId">marcarId</FIELD>
<FIELD id="fieldBpartner">bpartner</FIELD>
<FIELD id="fieldOrg">org</FIELD>
<FIELD id="fieldInvoice">invoice</FIELD>
<FIELD id="fieldPaymentRuleDes">paymentrule</FIELD>
<FIELD id="fieldPlannedDate">dateplanned</FIELD>
<FIELD id="fieldAmount" format="euroEdition">amount</FIELD>
<FIELD id="fieldCurrency">isoCode</FIELD>
<FIELD id="fieldWriteOff" attribute="value" format="euroEdition">writeoffamt</FIELD>
<FIELD id="fieldWriteOff" attribute="name" replace="xx">cDebtPaymentId</FIELD>
<FIELD id="fieldWriteOff" boolean="disabled" withId="fieldMarcarId">disableInputs</FIELD>
<FIELD id="fieldIsPaid" boolean="checked" withId="paramCheck">ispaid</FIELD>
<FIELD id="fieldIsPaid" boolean="disabled" withId="fieldMarcarId">disableInputs</FIELD>
<FIELD id="fieldIsPaid" attribute="name" replace="xx">cDebtPaymentId</FIELD>

<!--FUNCTION id="fieldTotal" name="SUM" format="euroRelation">amount</FUNCTION-->
<SECTION id="sectionDetail"/>
</structure>




</REPORT>

